PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFPageCanvas Class


In This Topic
    PDFPageCanvas Class Methods
    In This Topic

    For a list of all members of this type, see PDFPageCanvas members.

    Public Methods
     NameDescription
    Public MethodBegins an artifact marked content sequence.
    Each beginArtifactMarkedContent call must be paired with a call. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodBegins marked content sequence.
    Each beginMarkedContent call must be paired with a call. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodBegins an optional content group in the page graphics.  
    Public MethodBegins a marked content sequence associated with a object.
    Each beginStructureElement call must be paired with a call. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodClears all graphic content from the page.  
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Public MethodCompresses the page graphic content.
    Call this method to compress the graphic content and reduce memory usage. This method compresses the current graphic content but it leaves the graphics open so new content can be still added. If you are creating pages with heavy vector graphics, such as maps, you can call this method multiple times, after fragments of the page have been drawn in order to reduce the in-memory size of the graphic content. What the page content has been fully created call the method to compress the last fragment and close the page content.  
    Public MethodCompresses the graphic content and closes the graphics surface.
    Call this method to compress the graphic content and reduce memory usage. If this method is not called, the graphic content is stored uncompressed in the PDF file. After calling this method no more drawing is allowed on the graphics.  
    Public MethodDraws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a barcode at the specified position. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a Bézier spline specified by four Objects. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a cloud shape specified by an array of points. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws the formatted content on the graphics surface at the specified position. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws the specified at the specified location and with the specified size. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws the specified at the specified location and with the specified size.
    If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the image is scaled automatically to fit the given area and the original aspect ratio is kept. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a line connecting the two points specified by the coordinate pairs. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a . (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a rectangle specified by a coordinate pair, a width, and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a rounded rectangle specified by a coordinate pair, a width, and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws a PDF shading.
    The position of the shading is defined on the object. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws the specified at the specified location and with the specified size.
    A stencil mask is a B/W image where the 1 pixels are left transparent and 0 pixels are filled with the brush.
    If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the stencil mask is scaled automatically to fit the given area and the original aspect ratio is kept. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodDraws the specified text string at the specified location with the specified and @see com.o2sol.pdf4java.graphics.PDFFont Objects. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodEnds a marked content sequence. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodEnds the active optional content group in the page graphics.  
    Public MethodEnds a marked content sequence associated with a com.o2sol.pdf4java.logicalstructure.PDFStructureElement object. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodMultiplies the current transformation of this graphics and specified the matrix. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodRestores the current graphics state of this canvas. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodApplies the specified rotation to the transformation matrix of this canvas. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodSaves the current graphics state of this canvas (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodApplies the specified scaling operation to the transformation matrix of this graphics by prepending it to the current transformation matrix. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodSets the clipping region of this graphics to the specified path.
    The actual clipping path is the intersection of the previous clipping path with this new clipping path. It is recommended to save the graphics state (see method) before setting a clipping path and restore the graphics state (see method) after the clipping path is no longer needed. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodSets a new graphics state in this graphics Object. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Public MethodChanges the origin of the coordinate system by prepending the specified translation to the transformation matrix of this canvas. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas)
    Top
    See Also